-
Notifications
You must be signed in to change notification settings - Fork 223
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[incubator-kie-issues-1259] RestWorkItemHandler logger set to debug #3577
[incubator-kie-issues-1259] RestWorkItemHandler logger set to debug #3577
Conversation
...rkitems/kogito-rest-workitem/src/main/java/org/kogito/workitem/rest/RestWorkItemHandler.java
Show resolved
Hide resolved
...rkitems/kogito-rest-workitem/src/main/java/org/kogito/workitem/rest/RestWorkItemHandler.java
Outdated
Show resolved
Hide resolved
Link https://github.com/apache/incubator-kie-kogito-runtimes/pull/3559 does not exist |
Issue link updated. |
68cc372
to
81a23f8
Compare
81a23f8
to
9e55020
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM @Abhitocode.
I think it is justified to change the log level to DEBUG in the executeWorkItem
method, as the messages are logged for the fallback scenario. So if you define a partial URL and the handler works as expected, you don't want these messages to be logged at INFO on each invocation.
@fjtirado thanks for your feedback on this PR!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1, going to try to have a green before merging :D
The logging output from RestWorkItemHandler generates too many logs which is not helpful. Changed the log level from info to debug.
Closes: apache/incubator-kie-issues#1259